I/O and Space-Efficient Path Traversal in Planar Graphs
نویسندگان
چکیده
We present a technique for representing bounded-degree planar graphs succinctly while permitting I/O-efficient path traversal. To represent a graph G on N vertices, each with an associated key of q = O(lgN) bits, we use Nq +O(N) + o(Nq) bits. Using this representation, a path of length K can be traversed with O(K/ lgB) I/Os, where B is the disk block size. Our structure may be adapted to represent, with similar space bounds, a terrain modeled as a triangular-irregular network to support traversal of a path that visits K triangles using O(K/ lgB) I/Os. This structure can be used to answer a number of useful queries efficiently, such as reporting terrain profiles, trickle paths and connected components.
منابع مشابه
External Memory Algorithms For Path Traversal in Graphs
This thesis will present a number of results related to path traversal in trees and graphs. In particular, we focus on data structures which allow such traversals to be performed efficiently in the external memory setting. In addition, for trees and planar graphs the data structures we present are succinct. Our tree structures permit efficient bottom-up path traversal in rooted trees of arbitra...
متن کاملAn External - Memory Data Structure for Shortest Path
In this paper, we present results related to satisfying shortest path queries on a planar graph stored in external memory. N denotes the total number of vertices and edges in the graph and sort(N) denotes the number of input/output (I/O) operations required to sort an array of length N. 1) We describe a data structure for supporting bottom-up traversal of rooted trees in external memory. A tree...
متن کاملExternal Memory Algorithms for Diameter and All-Pairs Shortest-Paths on Sparse Graphs
We provide I/O-efficient algorithms for diameter and allpairs shortest-paths (APSP) on undirected graphs G(V,E). For general non-negative edge weights and E/V = o(B/ log V ) our approaches are the first to achieve o(V ) I/Os. We also show that unweighted APSP can be solved with just O(V · sort(E)) I/Os; these approaches require O(V ) space. For diameter computations we additionally provide I/Os...
متن کاملI/O-Efficient Algorithms for Planar Graphs I: Separators∗
We present I/O-efficient algorithms for computing optimal separator partitions of planar graphs. Our main result shows that, given a planar graph G with N vertices and an integer r > 0, a vertex separator of size O (N/√r) that partitions G into O(N/r) subgraphs of size at most r and boundary size O (√r) can be computed in O(sort(N)) I/Os, provided that M ≥ 56r log B. Together with the planar em...
متن کاملI/O-Efficient Planar Separators
We present I/O-efficient algorithms for computing optimal separator partitions of planar graphs. Our main result shows that, given a planar graph G with N vertices and an integer r > 0, a vertex separator of size O(N/ √ r) that partitions G into O(N/r) subgraphs of size at most r and boundary size O( √ r) can be computed in O(sort(N)) I/Os. This bound holds provided that M ≥ 56r log B. Together...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2009